

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>The htmlPage module &mdash; pyamp v1.2 documentation</title>
    <link rel="stylesheet" href="../_static/default.css" type="text/css" />
    <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    '../',
        VERSION:     '1.2',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="../_static/jquery.js"></script>
    <script type="text/javascript" src="../_static/underscore.js"></script>
    <script type="text/javascript" src="../_static/doctools.js"></script>
    <link rel="top" title="pyamp v1.2 documentation" href="../index.html" />
    <link rel="up" title="The html module" href="mod_pyamp_web_html.html" />
    <link rel="next" title="The http module" href="mod_pyamp_web_http.html" />
    <link rel="prev" title="The baseElement module" href="pyamp_web_html_baseElement.html" /> 
  </head>
  <body>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="mod_pyamp_web_http.html" title="The http module"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="pyamp_web_html_baseElement.html" title="The baseElement module"
             accesskey="P">previous</a> |</li>
        <li><a href="../index.html">pyamp v1.2 documentation</a> &raquo;</li>
          <li><a href="mod_pyamp.html" >The pyamp module</a> &raquo;</li>
          <li><a href="mod_pyamp_web.html" >The web module</a> &raquo;</li>
          <li><a href="mod_pyamp_web_html.html" accesskey="U">The html module</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body">
            
  <div class="section" id="module-pyamp.web.html.htmlPage">
<span id="the-htmlpage-module"></span><h1>The htmlPage module<a class="headerlink" href="#module-pyamp.web.html.htmlPage" title="Permalink to this headline">¶</a></h1>
<div class="section" id="the-body-class">
<h2>The Body class<a class="headerlink" href="#the-body-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-be7ba8eb0f0d513b7983033304cf43bfad42496a.png" alt="Inheritance diagram of pyamp.web.html.htmlPage.Body" usemap="#inheritancee8b42684f5" class="inheritance"/>
<map id="inheritancee8b42684f5" name="inheritancee8b42684f5">
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.BaseHtmlElement" title="pyamp.web.html.baseElement.BaseHtmlElement" alt="" coords="5,7,341,33"/>
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.Body" title="pyamp.web.html.baseElement.Body" alt="" coords="48,84,299,111"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.web.html.htmlPage.Body">
<em class="property">class </em><tt class="descclassname">pyamp.web.html.htmlPage.</tt><tt class="descname">Body</tt><big>(</big><em>properties=None</em>, <em>elements=None</em><big>)</big><a class="headerlink" href="#pyamp.web.html.htmlPage.Body" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
<div class="section" id="the-htmlfivedoctype-class">
<h2>The HtmlFiveDoctype class<a class="headerlink" href="#the-htmlfivedoctype-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-7453a82689018fb246609f033a3745a6297bf3b2.png" alt="Inheritance diagram of pyamp.web.html.htmlPage.HtmlFiveDoctype" usemap="#inheritance57d71d8faa" class="inheritance"/>
<map id="inheritance57d71d8faa" name="inheritance57d71d8faa">
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.BaseHtmlElement" title="pyamp.web.html.baseElement.BaseHtmlElement" alt="" coords="5,7,341,33"/>
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.HtmlFiveDoctype" title="pyamp.web.html.baseElement.HtmlFiveDoctype" alt="" coords="9,84,337,111"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.web.html.htmlPage.HtmlFiveDoctype">
<em class="property">class </em><tt class="descclassname">pyamp.web.html.htmlPage.</tt><tt class="descname">HtmlFiveDoctype</tt><a class="headerlink" href="#pyamp.web.html.htmlPage.HtmlFiveDoctype" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
<div class="section" id="the-head-class">
<h2>The Head class<a class="headerlink" href="#the-head-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-0d37cb3e443ff40a5d14e7e2788ed9929652182d.png" alt="Inheritance diagram of pyamp.web.html.htmlPage.Head" usemap="#inheritance143ff096bc" class="inheritance"/>
<map id="inheritance143ff096bc" name="inheritance143ff096bc">
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.BaseHtmlElement" title="pyamp.web.html.baseElement.BaseHtmlElement" alt="" coords="5,7,341,33"/>
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.Head" title="pyamp.web.html.baseElement.Head" alt="" coords="47,84,300,111"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.web.html.htmlPage.Head">
<em class="property">class </em><tt class="descclassname">pyamp.web.html.htmlPage.</tt><tt class="descname">Head</tt><big>(</big><em>properties=None</em>, <em>elements=None</em><big>)</big><a class="headerlink" href="#pyamp.web.html.htmlPage.Head" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
<div class="section" id="the-script-class">
<h2>The Script class<a class="headerlink" href="#the-script-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-26f07eff047d94f9874cfc2b0bac5419d9c98e13.png" alt="Inheritance diagram of pyamp.web.html.htmlPage.Script" usemap="#inheritance83663b291f" class="inheritance"/>
<map id="inheritance83663b291f" name="inheritance83663b291f">
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.BaseHtmlElement" title="pyamp.web.html.baseElement.BaseHtmlElement" alt="" coords="5,7,341,33"/>
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.Script" title="pyamp.web.html.baseElement.Script" alt="" coords="45,84,301,111"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.web.html.htmlPage.Script">
<em class="property">class </em><tt class="descclassname">pyamp.web.html.htmlPage.</tt><tt class="descname">Script</tt><big>(</big><em>src</em><big>)</big><a class="headerlink" href="#pyamp.web.html.htmlPage.Script" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
<div class="section" id="the-title-class">
<h2>The Title class<a class="headerlink" href="#the-title-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-5ce810820f91940a19f0045afca72f4a870b075e.png" alt="Inheritance diagram of pyamp.web.html.htmlPage.Title" usemap="#inheritancefd40e2b430" class="inheritance"/>
<map id="inheritancefd40e2b430" name="inheritancefd40e2b430">
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.BaseHtmlElement" title="pyamp.web.html.baseElement.BaseHtmlElement" alt="" coords="5,7,341,33"/>
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.Title" title="pyamp.web.html.baseElement.Title" alt="" coords="51,84,296,111"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.web.html.htmlPage.Title">
<em class="property">class </em><tt class="descclassname">pyamp.web.html.htmlPage.</tt><tt class="descname">Title</tt><big>(</big><em>title</em><big>)</big><a class="headerlink" href="#pyamp.web.html.htmlPage.Title" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
<div class="section" id="the-html-class">
<h2>The Html class<a class="headerlink" href="#the-html-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-c3169b16ea1b2840b1dc0bfd71ca7cb6e9c3fa78.png" alt="Inheritance diagram of pyamp.web.html.htmlPage.Html" usemap="#inheritanceda0587ea74" class="inheritance"/>
<map id="inheritanceda0587ea74" name="inheritanceda0587ea74">
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.BaseHtmlElement" title="pyamp.web.html.baseElement.BaseHtmlElement" alt="" coords="5,7,341,33"/>
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.Html" title="pyamp.web.html.baseElement.Html" alt="" coords="48,84,299,111"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.web.html.htmlPage.Html">
<em class="property">class </em><tt class="descclassname">pyamp.web.html.htmlPage.</tt><tt class="descname">Html</tt><big>(</big><em>properties=None</em>, <em>elements=None</em><big>)</big><a class="headerlink" href="#pyamp.web.html.htmlPage.Html" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
<div class="section" id="the-htmlpage-class">
<h2>The HtmlPage class<a class="headerlink" href="#the-htmlpage-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-48cd551f4dd5305cd419ad71bd6a2d07b886b71d.png" alt="Inheritance diagram of pyamp.web.html.htmlPage.HtmlPage" usemap="#inheritance1ca4927937" class="inheritance"/>
<map id="inheritance1ca4927937" name="inheritance1ca4927937">
<area shape="rect" href="#pyamp.web.html.htmlPage.HtmlPage" title="pyamp.web.html.htmlPage.HtmlPage" alt="" coords="5,7,261,33"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.web.html.htmlPage.HtmlPage">
<em class="property">class </em><tt class="descclassname">pyamp.web.html.htmlPage.</tt><tt class="descname">HtmlPage</tt><big>(</big><em>title</em>, <em>bodyElements=None</em><big>)</big><a class="reference internal" href="../_modules/pyamp/web/html/htmlPage.html#HtmlPage"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyamp.web.html.htmlPage.HtmlPage" title="Permalink to this definition">¶</a></dt>
<dd><dl class="method">
<dt id="pyamp.web.html.htmlPage.HtmlPage.addCssDependency">
<tt class="descname">addCssDependency</tt><big>(</big><em>cssPath</em><big>)</big><a class="reference internal" href="../_modules/pyamp/web/html/htmlPage.html#HtmlPage.addCssDependency"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyamp.web.html.htmlPage.HtmlPage.addCssDependency" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyamp.web.html.htmlPage.HtmlPage.addElement">
<tt class="descname">addElement</tt><big>(</big><em>element</em><big>)</big><a class="reference internal" href="../_modules/pyamp/web/html/htmlPage.html#HtmlPage.addElement"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyamp.web.html.htmlPage.HtmlPage.addElement" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyamp.web.html.htmlPage.HtmlPage.addJavaScriptDependency">
<tt class="descname">addJavaScriptDependency</tt><big>(</big><em>jsPath</em><big>)</big><a class="reference internal" href="../_modules/pyamp/web/html/htmlPage.html#HtmlPage.addJavaScriptDependency"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyamp.web.html.htmlPage.HtmlPage.addJavaScriptDependency" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="pyamp.web.html.htmlPage.HtmlPage.toHtml">
<tt class="descname">toHtml</tt><big>(</big><big>)</big><a class="reference internal" href="../_modules/pyamp/web/html/htmlPage.html#HtmlPage.toHtml"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#pyamp.web.html.htmlPage.HtmlPage.toHtml" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

</div>
<div class="section" id="the-csslink-class">
<h2>The CssLink class<a class="headerlink" href="#the-csslink-class" title="Permalink to this headline">¶</a></h2>
<p class="graphviz">
<img src="../_images/inheritance-5341235bc5a0989be96f1b8c16fddae87f8fad05.png" alt="Inheritance diagram of pyamp.web.html.htmlPage.CssLink" usemap="#inheritancea5e37bfc21" class="inheritance"/>
<map id="inheritancea5e37bfc21" name="inheritancea5e37bfc21">
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.BaseHtmlElement" title="pyamp.web.html.baseElement.BaseHtmlElement" alt="" coords="5,7,341,33"/>
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.Link" title="pyamp.web.html.baseElement.Link" alt="" coords="52,84,295,111"/>
<area shape="rect" href="pyamp_web_html_baseElement.html#pyamp.web.html.baseElement.CssLink" title="pyamp.web.html.baseElement.CssLink" alt="" coords="40,161,307,188"/>
</map>
</p>
<dl class="class">
<dt id="pyamp.web.html.htmlPage.CssLink">
<em class="property">class </em><tt class="descclassname">pyamp.web.html.htmlPage.</tt><tt class="descname">CssLink</tt><big>(</big><em>href</em><big>)</big><a class="headerlink" href="#pyamp.web.html.htmlPage.CssLink" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar">
        <div class="sphinxsidebarwrapper">
  <h3><a href="../index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">The htmlPage module</a><ul>
<li><a class="reference internal" href="#the-body-class">The Body class</a></li>
<li><a class="reference internal" href="#the-htmlfivedoctype-class">The HtmlFiveDoctype class</a></li>
<li><a class="reference internal" href="#the-head-class">The Head class</a></li>
<li><a class="reference internal" href="#the-script-class">The Script class</a></li>
<li><a class="reference internal" href="#the-title-class">The Title class</a></li>
<li><a class="reference internal" href="#the-html-class">The Html class</a></li>
<li><a class="reference internal" href="#the-htmlpage-class">The HtmlPage class</a></li>
<li><a class="reference internal" href="#the-csslink-class">The CssLink class</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="pyamp_web_html_baseElement.html"
                        title="previous chapter">The baseElement module</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="mod_pyamp_web_http.html"
                        title="next chapter">The http module</a></p>
  <h3>This Page</h3>
  <ul class="this-page-menu">
    <li><a href="../_sources/_generated/pyamp_web_html_htmlPage.txt"
           rel="nofollow">Show Source</a></li>
  </ul>
<div id="searchbox" style="display: none">
  <h3>Quick search</h3>
    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" size="18" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="../genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="../py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="mod_pyamp_web_http.html" title="The http module"
             >next</a> |</li>
        <li class="right" >
          <a href="pyamp_web_html_baseElement.html" title="The baseElement module"
             >previous</a> |</li>
        <li><a href="../index.html">pyamp v1.2 documentation</a> &raquo;</li>
          <li><a href="mod_pyamp.html" >The pyamp module</a> &raquo;</li>
          <li><a href="mod_pyamp_web.html" >The web module</a> &raquo;</li>
          <li><a href="mod_pyamp_web_html.html" >The html module</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; Copyright 2012, Brett Ponsler.
      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.1.
    </div>
  </body>
</html>